﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	x:Class="Subattle.Explosion"
	d:DesignWidth="640" d:DesignHeight="480">
	<UserControl.Resources>
		<Storyboard x:Name="Bang" Completed="Bang_Completed">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
				<SplineDoubleKeyFrame KeyTime="00:00:00.2000000" Value="2"/>
				<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="1"/>
				<SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
				<SplineDoubleKeyFrame KeyTime="00:00:00.2000000" Value="2"/>
				<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="1"/>
				<SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Offset)">
				<SplineDoubleKeyFrame KeyTime="00:00:00.2000000" Value="0.804"/>
				<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="0.214"/>
				<SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="0.08"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Offset)">
				<SplineDoubleKeyFrame KeyTime="00:00:00.2000000" Value="0.536"/>
				<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="0.098"/>
				<SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Offset)">
				<SplineDoubleKeyFrame KeyTime="00:00:00.2000000" Value="0.879"/>
				<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="0.53600001335144043"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
	</UserControl.Resources>

	<Grid x:Name="LayoutRoot" Width="75" Height="75" >
		<Ellipse HorizontalAlignment="Left" Margin="20,18,0,0" VerticalAlignment="Top" Width="37.5" Height="37.5" RenderTransformOrigin="0.5,0.5" x:Name="ellipse">
			<Ellipse.OpacityMask>
				<RadialGradientBrush>
					<GradientStop Color="#FF000000" Offset="0.549"/>
					<GradientStop Color="#00FFFFFF" Offset="0.996"/>
				</RadialGradientBrush>
			</Ellipse.OpacityMask>
			<Ellipse.RenderTransform>
				<TransformGroup>
					<ScaleTransform ScaleX="0.1" ScaleY="0.1"/>
					<SkewTransform/>
					<RotateTransform/>
					<TranslateTransform/>
				</TransformGroup>
			</Ellipse.RenderTransform>
			<Ellipse.Fill>
				<RadialGradientBrush>
					<GradientStop Color="#FFFFFFFF" Offset="0.143"/>
					<GradientStop Color="#FFFF1600" Offset="0.348"/>
					<GradientStop Color="#FFFF7400" Offset="0.536"/>
					<GradientStop Color="#FFE5FF00" Offset="1"/>
				</RadialGradientBrush>
			</Ellipse.Fill>
		</Ellipse>
	</Grid>
</UserControl>